package com.luoxue.execsql.rest.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.luoxue.execsql.common.util.BaseEntity;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;

/**
 * sys_common_validator
 *
 * @author
 */
@Data
@NoArgsConstructor
public class ErrorValidator implements Serializable {

    private String regexType;


    private String errorMsg;


    private String paramName;

    public ErrorValidator(String paramName, String regexType, String errorMsg) {
        this.paramName = paramName;
        this.regexType = regexType;
        this.errorMsg = errorMsg;
    }
}
